﻿@model etracks.Web.ProjectTypeRegistrationViewModel

@using (Html.BeginForm("Edit", "ProjectType", FormMethod.Post, new { @class = "form-horizontal" }))
{
    <div class="form-group">
        <label for="input_name" class="col-sm-2 control-label">Resource Type Name</label>
        <div class="col-sm-8">
            <input type="text" class="form-control" id="input_name" name="name" placeholder="eg. Name of Resource Type" value="@Model.Name" autocomplete="off">
        </div>
    </div>

    <div class="form-group">
        <div class="col-sm-offset-2 col-sm-8">
            <button type="submit" class="btn btn-default">Save changes</button>

            @Html.ActionLink("List Resource Type", "List", "ProjectType", null, new { @class = "btn btn-default" })
        </div>
    </div>
}